{include file="public/header" /}
<style>
    .layui-form-label {
        font-size:0.75rem;
        position: relative;
        float: left;
        display: block;
        padding: 0px !important;
        font-weight: 400;
        line-height: 40px;
        text-align: left;
    }
    .layui-input-inline{
        margin: 0 0 10px 85px !important;
    }
    .add_foot{
        width: 100%;
        height:45px;
        line-height: 45px;
        position: fixed;
        bottom: 0;
        left: 0;
        font-size: 16px;
        color: #fff;
        text-align: center;
        background: linear-gradient(to right, rgb(253,123,3) 0%, rgb(236,31,34) 100%);
    }
</style>
<body class="hide-top bgc">
<div class="submit-container">
    <img src="/static/index/img/icon78.png" alt="">
    <div class="submit-content">
        <div class="submit-hd flex-center">
            <i class="layui-icon layui-icon-left"></i>发货订单详情
        </div>
        <div class="submit-site flex-layout order-det-site">
            <div>
                <div>
                    <img src="/static/index/img/icon56.png" alt="">{$info.receiver} {$info.receiver_tel}
                </div>
                <p>{$info.p.title}{$info.c.title}{$info.d.title}{$info.address_details}</p>
            </div>
        </div>

        <div class="submit-pro">
            <ul class="submit-pro-list">
                {foreach name="info.productsField" item="vo"}
                <li>
                    <p class="flex-center">
                        <img src="{$vo.icon}" alt="">
                    </p>
                    <div class="center">
                        <p class="multi">{$vo.title}</p>
                        <p class="spec">{$vo.spec}</p>
                    </div>
                    <div class="rgt">
                        <p class="price">￥<span>{$vo.vip_price}</span></p>
                        <p>x{$vo.num}</p>
                    </div>
                </li>
                {/foreach}
            </ul>
        </div>
        <ul class="order-det-form">
            <li>
                <p class="name">订单编号：</p>
                <p id="copy">{$info.sn}</p>
            </li>

            <li>
                <p class="name">下单时间：</p>
                <p>{$info.create_time}</p>
            </li>
        </ul>
        <form class="layui-form" id="form" action="{:url('merchant/deliver_order_details')}" lay-filter='form'>
            <input type="hidden" name="id" id="id" value="{$info?$info.id:''}"/>
            <div class="order-det-form">
                <div class="layui-row">
                    <div class="layui-col-xs12">
                        <div class="layui-form-item">
                            <label for="express_id" class="layui-form-label">快递公司</label>
                            <div class="layui-input-inline">
                                <select name="express_id" id="express_id" lay-filter="express_id"
                                        style="max-height: 100px;">
                                    {volist name="express" id="vo"}
                                    <option value="{$vo.id}" {if $info.express_id== $vo.id}selected{
                                    /if} >{$vo.title}</option>
                                    {/volist}
                                </select>
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-xs12">
                        <div class="layui-form-item">
                            <label class="layui-form-label">快递单号 </label>
                            <div class="layui-input-inline">
                                <input type="text" value="{$info.express_code}" name="express_code"
                                    lay-verify="required"
                                    lay-reqtext="请填写快递单号" placeholder="请填写快递单号"
                                    class="layui-input"/>
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-xs12">
                        <div class="layui-form-item">
                            <label class="layui-form-label">备注 </label>
                            <div class="layui-input-inline">
                                <input type="text" value="{$info.post_remark}" name="post_remark"
                                    placeholder="备注"
                                    class="layui-input"/>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <button class="add_foot" lay-filter="save" lay-submit formObj="#form">发货</button>
        </form>
    </div>
</div>

</body>
{include file="public/footer"/}
</html>